package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生作业减免权益配置对象 sys_student_benefit
 *
 * @author 杨佳霖
 * @date 2025-08-29
 */
public class AsysStudentBenefit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 权益ID */
    private Long id;

    /** 权益名称 */
    @Excel(name = "权益名称")
    private String benefitName;

    /** 所需经验值 */
    @Excel(name = "所需经验值")
    private Long needExp;

    /** 权益说明 */
    @Excel(name = "权益说明")
    private String benefitDesc;

    /** 状态（1-启用，0-禁用） */
    @Excel(name = "状态", readConverterExp = "1=-启用，0-禁用")
    private Long status;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setBenefitName(String benefitName)
    {
        this.benefitName = benefitName;
    }

    public String getBenefitName()
    {
        return benefitName;
    }

    public void setNeedExp(Long needExp)
    {
        this.needExp = needExp;
    }

    public Long getNeedExp()
    {
        return needExp;
    }

    public void setBenefitDesc(String benefitDesc)
    {
        this.benefitDesc = benefitDesc;
    }

    public String getBenefitDesc()
    {
        return benefitDesc;
    }

    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("benefitName", getBenefitName())
                .append("needExp", getNeedExp())
                .append("benefitDesc", getBenefitDesc())
                .append("status", getStatus())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
